<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>一个程序猿的博客</title>
<meta name="keywords" content="个人博客,圣骑士个人博客,周洋老师个人博客,响应式" />
<meta name="description" content="个人博客,圣骑士个人博客,周洋老师个人博客,响应式，神秘、俏皮。" />
<link href="{$smarty.const.CSS_DIR}/base.css" rel="stylesheet">
<link href="{$smarty.const.CSS_DIR}/index.css" rel="stylesheet">
<link href="{$smarty.const.CSS_DIR}/media.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<!--[if lt IE 9]>
<script src="{$smarty.const.JS_DIR}/modernizr.js"></script>
<![endif]-->
</head>
<body>
<div class="ibody">
  {include file='../Public/header.html'}
  <article>
    <div class="banner">
      <ul class="texts">
        <p>The best life is use of willing attitude, a happy-go-lucky life. </p>
        <p>最好的生活是用心甘情愿的态度，过随遇而安的生活。</p>
      </ul>
    </div>
    <div class="bloglist">
      <h2>
        <p><span>推荐</span>文章</p>
      </h2>
      {foreach from=$recommendArt item='row'}
      <div class="blogs">
        <h3><a href="index.php?p=Home&c=Article&a=show&art_id={$row.art_id}">{$row.title}</a></h3>
        <figure><img src="/Uploads/thumb/{$row.thumb|truncate:8:NULL}/{$row.thumb}" ></figure>
        <ul>
          <p>{$row.content|strip_tags|truncate:100:'...'}</p>
          <a href="index.php?p=Home&c=Article&a=show&art_id={$row.art_id}" target="_blank" class="readmore">阅读全文&gt;&gt;</a>
        </ul>
        <p class="autor"><span>作者：{$row.author}</span><span>分类：【<a href="index.php?p=Home&c=Article&a=index&cate_id={$row.cate_id}">{$row.cate_name}</a>】</span><span>浏览（<a href="index.php?p=Home&c=Article&a=show&art_id={$row.art_id}">{$row.hits}</a>）</span><span>评论（<a href="index.php?p=Home&c=Article&a=show&art_id={$row.art_id}">30</a>）</span></p>
        <div class="dateview">{$row.addtime|date_format:'%Y-%m-%d'}</div>
      </div>  
      {/foreach}  
    </div>
  </article>
  <aside>
    <div class="avatar"><a href="index.php?p=Home&c=SinglePage&a=index&page_id=1"><span>关于我</span></a></div>
    <div class="topspaceinfo">
      <h1>执子之手，与子偕老</h1>
      <p>以上是出自诗经,表达战友之间的基情.我们要支持基佬,毕竟他们是不能繁衍后代的,很快就能灭绝!</p>
    </div>
    <div class="about_c">
      <p>网名：{$masterInfo.nickname}</p>
      <p>职业：{$masterInfo.job} </p>
      <p>籍贯：{$masterInfo.home}</p>
      <p>电话：{$masterInfo.tel}</p>
      <p>邮箱：{$masterInfo.email}</p>
    </div>

   {literal}
   <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"32"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
   {/literal}

    <div class="tj_news">
      <h2>
        <p class="tj_t1">最新文章</p>
      </h2>
      <ul>
      {foreach from=$newArt item='row'}
        <li><a href="index.php?p=Home&c=Article&a=show&art_id={$row.art_id}">{$row.title}</a></li>
      {/foreach}
        
      </ul>
      <h2>
        <p class="tj_t2">推荐文章</p>
      </h2>
      <ul>
      {foreach from=$hotArtByHits item='row'}
        <li><a href="index.php?p=Home&c=Article&a=show&art_id={$row.art_id}">{$row.title}</a></li>
      {/foreach}
        
      </ul>
    </div>
    <div class="links">
      <h2>
        <p>友情链接</p>
      </h2>
      <ul>
        <li><a href="/">一只程序猿的博客</a></li>
        <li><a href="http://nsdual.boxuegu.com/">记的做博学谷 </a></li>
      </ul>
    </div>
    <div class="copyright">
      <ul>
        <p> Design by <a href="/">一只程序猿</a></p>
        <p>没备案的非法网站</p>
        </p>
      </ul>
    </div>
  </aside>
  <!-- <script src="{$smarty.const.JS_DIR}/silder.js"></script> -->
  <div class="clear"></div>
  <!-- 清除浮动 --> 
</div>
</body>
</html>
